<template>
  <div class="container">
    <div class="content-top">
			<span class="h1">项目管理</span>
			<span class="h2">补偿信息表</span>
			<el-button  size="mini" @click="fnReturn()">返回</el-button>
		</div>
      <div class="fbhead">
        <div class="address clearfix">
            <label class='fl' for="">户主姓名：</label>
            <span class="fl" style="width: auto;">{{formData.MainName}}</span>
        </div>
          <div style="width:1500px;margin:auto;">
                <div class="clearfix" style="width:1200px;margin:auto;">
                  <table class="headtable fl">
                      <tr>
                        <td>流  转</td>
                        <td v-for="(item,index) in FlowLog" :key="index">{{item.LogContent}}</td>
                        <!-- <td v-if='FlowLog[0]'>{{FlowLog[0]?FlowLog[0].LogContent:''}}</td>
                        <td v-if='FlowLog[1]'>{{FlowLog[1]?FlowLog[1].LogContent:''}}</td>
                        <td v-if='FlowLog[2]'>{{FlowLog[2]?FlowLog[2].LogContent:''}}</td>
                        <td v-if='FlowLog[3]'>{{FlowLog[3]?FlowLog[3].LogContent:''}}</td>
                        <td v-if='FlowLog[4]'>{{FlowLog[4]?FlowLog[4].LogContent:''}}</td>
                        <td v-if='FlowLog[5]'>{{FlowLog[5]?FlowLog[5].LogContent:''}}</td>
                        <td v-if='FlowLog[6]'>{{FlowLog[6]?FlowLog[6].LogContent:''}}</td>
                        <td v-if='FlowLog[7]'>{{FlowLog[7]?FlowLog[7].LogContent:''}}</td>
                        <td v-if='FlowLog[8]'>{{FlowLog[8]?FlowLog[8].LogContent:''}}</td>
                        <td v-if='FlowLog[9]'>{{FlowLog[9]?FlowLog[9].LogContent:''}}</td> -->
                    </tr>
                    <tr>
                        <td>时  间</td>
                        <td v-for="(item,index) in FlowLog" :key="index">{{item.LogDate}}</td>
                        <!-- <td v-if='FlowLog[0]'>{{FlowLog[0]?FlowLog[0].LogDate:''}}</td>
                        <td v-if='FlowLog[1]'>{{FlowLog[1]?FlowLog[1].LogDate:''}}</td>
                        <td v-if='FlowLog[2]'>{{FlowLog[2]?FlowLog[2].LogDate:''}}</td>
                        <td v-if='FlowLog[3]'>{{FlowLog[3]?FlowLog[3].LogDate:''}}</td>
                        <td v-if='FlowLog[4]'>{{FlowLog[4]?FlowLog[4].LogDate:''}}</td>
                        <td v-if='FlowLog[5]'>{{FlowLog[5]?FlowLog[5].LogDate:''}}</td>
                        <td v-if='FlowLog[6]'>{{FlowLog[6]?FlowLog[6].LogDate:''}}</td>
                        <td v-if='FlowLog[7]'>{{FlowLog[7]?FlowLog[7].LogDate:''}}</td>
                        <td v-if='FlowLog[8]'>{{FlowLog[8]?FlowLog[8].LogDate:''}}</td>
                        <td v-if='FlowLog[9]'>{{FlowLog[9]?FlowLog[9].LogDate:''}}</td> -->
                    </tr>
                  </table>
                </div>
              </div>
      </div>
      <div class="tab">
          <el-tabs v-model="activeTab" @tab-click="handleClick">
          	<el-tab-pane label="合同" name="ht">
          			<div class="hetong">
          				<h4 class="numbs">{{billcode}}</h4>
          				<div v-html='hetong1'></div>
          			</div>
          	</el-tab-pane>
            <el-tab-pane label="1土地征用" name="fb1">
                <div class="title" style="position: relative;">
                		<span style="position: absolute; right: 0;">{{billcode}}</span>
                    ({{gcname}})工程建设土地征用补偿登记/结算表&nbsp;
                    <el-button type="primary" size="mini" v-show="isButton" @click="fb1AddRow()">添加</el-button>
                    <!-- <el-button type="primary" size="mini" @click="fb1Save()">保存</el-button> -->
                </div>
                <table class="landsTable" cellspacing="0" cellpadding="0" border="0" style="width:100%;">
                <thead>
                  <tr>
                    <td rowspan="2">序号</td>
                    <td colspan="7">土地测绘成果</td>
                    <td colspan="2">（一）土地补偿费</td>
                    <td colspan="4">（二）作物类青苗（鱼苗）/补偿费</td>
                    <td>合计金额（元）</td>
                    <td rowspan="2">备注</td>
                  </tr>
                  <tr id="headers">
                    <td>地块编号</td>
                    <td>地 类</td>
                    <td>位置桩号K0+000</td>
                    <td>①土地面积</td>
                    <td>其中红线内</td>
                    <td>其中红线外</td>
                    <td>计算单位</td>
                    <td>补偿标准(元/单位)</td>
                    <td>补偿金额(元)</td>
                    <td>青苗名称</td>
                    <td>②有青苗面积</td>
                    <td>补偿标准(元/单位)</td>
                    <td>补偿金额(元)</td>
                    <td>（一）+（二）</td>
                  </tr>
                </thead>
                <tbody>
                  <tr v-for="(person,index) in fb1Data" :key="index">
                    <td>{{index+1}}</td>
                    <td>{{person.ItemCode}}</td>
                    <td>{{person.LevyItemStr}}</td>
                    <td>{{person.PointCode}}</td>
                    <td>{{person.Amount}}</td>
                    <td>{{person.RedInSq}}</td>
                    <td>{{person.RedOutSq}}</td>
                    <td>{{person.Unit}}</td>
                    <td>{{person.StandardPrice}}</td>
                    <td>{{person.Money}}</td>
                    <td>{{person.GreenName}}</td>
                    <td>{{person.GreenAmount}}</td>
                    <td>{{person.GreenPrice}}</td>
                    <td>{{person.GreenMoney}}</td>
                    <td>{{person.TotalMoney}}</td>
                    <td>{{person.Memo}}</td>
                  </tr>
                </tbody>
                <tfoot>
                  <tr class="td">
                    <td colspan="2">合计</td>
                    <td></td>
                    <td></td>
                    <td>{{form1.tdmj}}</td>
                    <td>{{form1.hwxn}}</td>
                    <td>{{form1.hwxw}}</td>
                    <td></td>
                    <td></td>
                    <td>{{form1.bcje}}</td>
                    <td></td>
                    <td>{{form1.qmmj}}</td>
                    <td></td>
                    <td>{{form1.bcjes}}</td>
                    <td>{{form1.hjje}}</td>
                    <td></td>
                  </tr>
                  <tr>
                    <td colspan="2">合计大写</td>
                    <td colspan="13">{{hjdx.uppercase1}}</td>
                    <td></td>
                  </tr>
                  <tr class="border">
                    <td colspan="3">户主或户主代表签字（盖手印）：</td>
                    <td colspan="3"></td>
                    <td colspan="2">身份证号：</td>
                    <td colspan="3" style="text-align: left;font-weight: 600;">{{formData.CardID}}</td>
                    <td colspan="2">村支书(主任)：</td>
                    <td colspan="3"></td>
                  </tr>
                  <tr class="border">
                    <td colspan="3">填表人：</td>
                    <td colspan="3" style="text-align: left;font-weight: 600;">{{CrMan}}</td>
                    <td colspan="2">复核人2人以上：</td>
                    <td colspan="3"></td>
                    <td colspan="2">施工单位复核：</td>
                    <td colspan="3"></td>
                  </tr>
                  <tr class="border">
                    <td colspan="2">镇征拆小组领导：</td>
                    <td colspan="2"></td>
                    <td colspan="2">镇政府盖章（镇长签名）：</td>
                    <td colspan="2"></td>
                    <td colspan="2">县级审核：</td>
                    <td colspan="2" style="text-align: left;font-weight: 600;">{{DrMan}}</td>
                    <td colspan="1">业主审核：</td>
                    <td colspan="3" style="text-align: left;font-weight: 600;">{{ErMan}}</td>
                  </tr>
                  <tr  class="border" v-show="isShowX">
                    <td colspan="3">县领导：</td>
                    <td colspan="11"></td>
                  </tr>
                </tfoot>
              </table>
            </el-tab-pane>
            <el-tab-pane label="2青苗竹木果类" name="fb2">
                <div class="title" style="position: relative;">
                	<span style="position: absolute; right: 0;">{{billcode}}</span>
                    ({{gcname}})工程建设征收青苗竹木果类补偿登记/结算表&nbsp;
                    <el-button type="primary" v-show="isButton" size="mini" @click="fb2AddRow()">添加</el-button>
                    <!-- <el-button type="primary" size="mini" @click="fb2Save()">保存</el-button> -->
                </div>
                <table class="landsTable" cellspacing="0" cellpadding="0" border="0" style="width:100%;">
                <thead>
                  <tr>
                    <td rowspan="2">序号</td>
                    <td colspan="3">竹木果树类长势情况</td>
                    <td colspan="5">竹木果树所在地块（测绘成果）</td>
                    <td colspan="4">按规格密度种植计算</td>
                    <td colspan="3">按零星或低密度种植计算</td>
                    <td colspan="3">增加超密度部分青苗成本</td>
                    <td rowspan="2">补偿费（元）</td>
                    <td rowspan="4">备注</td>
                  </tr>
                  <tr id="headers">
                    <td>征收项目名称</td>
                    <td>规格</td>
                    <td>长势值</td>

                    <td>地块编号</td>
                    <td>地 类</td>
                    <td>位置桩号K0+000</td>
                    <td>计算单位</td>
                    <td>①土地面积 </td>
	
                    <td>标准(元/单位)</td>
                    <td>地块编号下的拆分编号</td>
                    <td>②有树林面积</td>
                    <td>金额(元)</td>

                    <td>标准(元/株)</td>
                    <td>数量</td>
                    <td>金额（元）</td>

                    <td>标准(元/株)</td>
                    <td>数量</td>
                    <td>金额（元）</td>

                  </tr>
                </thead>
                <tbody>
                  <tr v-for="(person,index) in fb2Data" :key="index">
                    <td>{{index+1}}</td>
                    <td>{{person.LevyItemStr}}</td>
                    <td>{{person.ItemName}}</td>
                    <td>{{person.GreenCurrentValue}}</td>
                    <td>{{person.ItemCode}}</td>
                    <td>{{person.ItemName}}</td>
                    <td>{{person.PointCode}}</td>
                    <td>{{person.Unit}}</td>
                    <td>{{person.Amount}}</td>
                    <td>{{person.StandardPrice}}</td>
                    <td>{{person.LandBranchCode}}</td>
                    <td>{{person.GreenAmount}}</td>
                    <td>{{person.Money}}</td>
                    <td>{{person.SmallPrice}}</td>
                    <td>{{person.SmallAmount}}</td>
                    <td>{{person.SmallMoney}}</td>
                    <td>{{person.PlusPrice}}</td>
                    <td>{{person.PlusAmount}}</td>
                    <td>{{person.PlusMoney}}</td>
                    <td>{{person.TotalMoney}}</td>
                    <td>{{person.Memo}}</td>
                  </tr>
                </tbody>
                <tfoot>
                  <tr class="td">
                    <td colspan="2">合计</td>
                    <td></td>
                    <td>{{form2.zsz}}</td>
                    <td></td>
                    <td></td>
                    <td></td>
                    <td></td>
                    <td>{{form2.tdmj}}</td>
                    <td></td>
                    <td></td>
                    <td>{{form2.yslmj}}</td>
                    <td>{{form2.je}}</td>
                    <td></td>
                    <td>{{form2.lxsl}}</td>
                    <td>{{form2.lxje}}</td>
                    <td></td>
                    <td>{{form2.cmdsl}}</td>
                    <td>{{form2.cmdje}}</td>
                    <td>{{form2.bcf}}</td>
                    <td></td>
                  </tr>
                  <tr>
                    <td colspan="2">合计大写</td>
                    <td colspan="18">{{hjdx.uppercase2}}</td>
                    <td></td>
                  </tr>
                  <tr class="border">
                    <td colspan="4">户主或户主代表签字（盖手印）：</td>
                    <td colspan="3"></td>
                    <td colspan="4">身份证号：</td>
                    <td colspan="3" style="text-align: left;font-weight: 600;">{{formData.CardID}}</td>
                    <td colspan="4">村支书(主任)：</td>
                    <td colspan="3"></td>
                  </tr>
                  <tr class="border">
                    <td colspan="4">填表人：</td>
                    <td colspan="3" style="text-align: left;font-weight: 600;">{{CrMan}}</td>
                    <td colspan="4">复核人2人以上：</td>
                    <td colspan="3"></td>
                    <td colspan="4">施工单位复核：</td>
                    <td colspan="3"></td>
                  </tr>
                  <tr class="border">
                    <td colspan="3">镇征拆小组领导：</td>
                    <td colspan="3"></td>
                    <td colspan="3">镇政府盖章（镇长签名）：</td>
                    <td colspan="3"></td>
                    <td colspan="3">县级审核：</td>
                    <td colspan="2" style="text-align: left;font-weight: 600;">{{DrMan}}</td>
                    <td colspan="2">业主审核：</td>
                    <td colspan="2" style="text-align: left;font-weight: 600;">{{ErMan}}</td>
                  </tr>
                  <tr class="border"  v-show="isShowX">
                    <td colspan="4">县领导：</td>
                    <td colspan="17"></td>
                  </tr>
                </tfoot>
                </table>
            </el-tab-pane>
            <el-tab-pane label="3房屋主体" name="fb3">
                <div class="title clearfix" style="position: relative;">
                    <!-- <label for="">位置：桩号K</label>
                    <span>( )+( )</span> -->
                    <span style="position: absolute; right: 0;">{{billcode}}</span>
                    ({{gcname}})工程建设宅地征用与房屋主体征收拆迁补偿登记/结算表&nbsp;
                    <el-button type="primary" v-show="isButton" size="mini" @click="fb3AddRow()">添加</el-button>
                    <!-- <el-button type="primary" size="mini" @click="fb3Save()">保存</el-button> -->
                </div>
                <table class="landsTable" cellspacing="0" cellpadding="0" border="0">
                <thead>
                  <tr>
                    <td>序号</td>
                    <td>征收项目名称</td>
                    <td>规格</td>
                    <td>计算单位</td>
                    <td>补偿标准（元/单位）</td>
                    <td>补偿数量</td>
                    <td>补偿金额（元）</td>
                    <td>备注</td>
                  </tr>
                </thead>
                <tbody>
                  <tr v-for="(person,index) in fb3Data" :key="index">
                    <td>{{index+1}}</td>
                    <td>{{person.LevyItemStr}}</td>
                    <td>{{person.ItemName}}</td>
                    <td>{{person.UnitName}}</td>
                    <td>{{person.StandardPrice}}</td>
                    <td>{{person.Amount}}</td>
                    <td>{{person.Money}}</td>
                    <td>{{person.Memo}}</td>
                  </tr>
                </tbody>
                <tfoot>
                  <tr class="td">
                    <td>合计</td>
                    <td></td>
                    <td></td>
                    <td></td>
                    <td></td>
                    <td>{{form3.bcsl}}</td>
                    <td>{{form3.bcje}}</td>
                    <td></td>
                  </tr>
                  <tr>
                    <td>合计大写</td>
                    <td colspan="6">{{hjdx.uppercase3}}</td>
                    <td></td>
                  </tr>
                  <tr class="border">
                    <td colspan="2">户主或户主代表签字（盖手印）：</td>
                    <td colspan="1"></td>
                    <td colspan="1">身份证号：</td>
                    <td colspan="1" style="text-align: left;font-weight: 600;">{{formData.CardID}}</td>
                    <td colspan="1">村支书(主任)：</td>
                    <td colspan="2"></td>
                  </tr>
                  <tr class="border">
                    <td colspan="2">填表人：</td>
                    <td colspan="1" style="text-align: left;font-weight: 600;">{{CrMan}}</td>
                    <td colspan="1">复核人2人以上：</td>
                    <td colspan="1"></td>
                    <td colspan="1">施工单位复核：</td>
                    <td colspan="2"></td>
                  </tr>
                  <tr class="border">
                    <td colspan="1">镇征拆小组领导：</td>
                    <td colspan="1"></td>
                    <td colspan="1">镇政府盖章（镇长签名）：</td>
                    <td colspan="1"></td>
                    <td colspan="1">县级审核：</td>
                    <td colspan="1" style="text-align: left;font-weight: 600;">{{DrMan}}</td>
                    <td colspan="1">业主审核：</td>
                    <td colspan="1" style="text-align: left;font-weight: 600;">{{ErMan}}</td>
                  </tr>
                  <tr class="border" v-show="isShowX">
                    <td colspan="2">县领导：</td>
                    <td colspan="7"></td>
                  </tr>
                </tfoot>
                </table>
            </el-tab-pane>
            <el-tab-pane label="4房屋装修" name="fb4">
                <div class="title" style="position: relative;">
                	<span style="position: absolute; right: 0;">{{billcode}}</span>
                    ({{gcname}})工程建设房屋装饰设施征收拆迁补偿登记/结算表&nbsp;
                    <el-button type="primary" v-show="isButton" size="mini" @click="fb4AddRow()">添加</el-button>
                    <!-- <el-button type="primary" size="mini" @click="fb4Save()">保存</el-button> -->
                </div>
                <table class="landsTable" cellspacing="0" cellpadding="0" border="0">
                <thead>
                  <tr>
                    <td>序号</td>
                    <td>征收项目名称</td>
                    <td>规格</td>
                    <td>计算单位</td>
                    <td>补偿标准（元/单位）</td>
                    <td>补偿数量</td>
                    <td>补偿金额（元）</td>
                    <td>备注</td>
                  </tr>
                </thead>
                <tbody>
                  <tr v-for="(person,index) in fb4Data" :key="index">
                    <td>{{index+1}}</td>
                    <td>{{person.LevyItemStr}}</td>
                    <td>{{person.ItemName}}</td>
                    <td>{{person.UnitName}}</td>
                    <td>{{person.StandardPrice}}</td>
                    <td>{{person.Amount}}</td>
                    <td>{{person.Money}}</td>
                    <td>{{person.Memo}}</td>
                  </tr>
                </tbody>
                <tfoot>
                  <tr class="td">
                    <td>合计</td>
                    <td></td>
                    <td></td>
                    <td></td>
                    <td></td>
                    <td>{{form4.bcsl}}</td>
                    <td>{{form4.bcje}}</td>
                    <td></td>
                  </tr>
                  <tr>
                    <td>合计大写</td>
                    <td colspan="6">{{hjdx.uppercase4}}</td>
                    <td></td>
                  </tr>
                  <tr class="border">
                    <td colspan="2">户主或户主代表签字（盖手印）：</td>
                    <td colspan="1"></td>
                    <td colspan="1">身份证号：</td>
                    <td colspan="1" style="text-align: left;font-weight: 600;">{{formData.CardID}}</td>
                    <td colspan="1">村支书(主任)：</td>
                    <td colspan="2"></td>
                  </tr>
                  <tr class="border">
                    <td colspan="1">填表人：</td>
                    <td colspan="1" style="text-align: left;font-weight: 600;">{{CrMan}}</td>
                    <td colspan="2">复核人2人以上：</td>
                    <td colspan="1"></td>
                    <td colspan="2">施工单位复核：</td>
                    <td colspan="1"></td>
                  </tr>
                  <tr class="border">
                    <td colspan="1">镇征拆小组领导：</td>
                    <td colspan="1"></td>
                    <td colspan="1">镇政府盖章（镇长签名）：</td>
                    <td colspan="1"></td>
                    <td colspan="1">县级审核：</td>
                    <td colspan="1" style="text-align: left;font-weight: 600;">{{DrMan}}</td>
                    <td colspan="1">业主审核：</td>
                    <td colspan="1" style="text-align: left;font-weight: 600;">{{ErMan}}</td>
                  </tr>
                  <tr class="border" v-show="isShowX">
                    <td colspan="2">县领导：</td>
                    <td colspan="7"></td>
                  </tr>
                </tfoot>
                </table>
            </el-tab-pane>
            <el-tab-pane label="5坟山迁移" name="fb5">
                <div class="title" style="position: relative;">
                	<span style="position: absolute; right: 0;">{{billcode}}</span>
                    ({{gcname}})工程建设征地坟墓及其他迁移补偿登记/结算表&nbsp;
                    <el-button type="primary" v-show="isButton" size="mini" @click="fb5AddRow()">添加</el-button>
                    <!-- <el-button type="primary" size="mini" @click="fb5Save()">保存</el-button> -->
                </div>
                <table class="landsTable" cellspacing="0" cellpadding="0" border="0">
                <thead>
                  <tr>
                    <td>序号</td>
                    <td>桩号K0+000</td>
                    <td>坟山编号</td>
                    <td>征收项目名称</td>
                    <td>规格</td>
                    <td>计算单位</td>
                    <td>补偿标准（元/座）</td>
                    <td>数量（座）</td>
                    <td>金额（元）</td>
                    <td>备注</td>
                  </tr>
                </thead>
                <tbody>
                  <tr v-for="(person,index) in fb5Data" :key="index">
                    <td>{{index+1}}</td>
                    <td>{{person.PointCode}}</td>
                    <td>{{person.ItemCode}}</td>
                    <td>{{person.LevyItemStr}}</td>
                    <td>{{person.ItemName}}</td>
                    <td>{{person.Unit}}</td>
                    <td>{{person.StandardPrice}}</td>
                    <td>{{person.Amount}}</td>
                    <td>{{person.Money}}</td>
                    <td>{{person.Memo}}</td>
                  </tr>
                </tbody>
                <tfoot>
                  <tr class="td">
                    <td>合计</td>
                    <td></td>
                    <td></td>
                    <td></td>
                    <td></td>
                    <td></td>
                    <td></td>
                    <td>{{form5.bcsl}}</td>
                    <td>{{form5.bcje}}</td>
                    <td></td>
                  </tr>
                  <tr>
                    <td>合计大写</td>
                    <td colspan="8">{{hjdx.uppercase5}}</td>
                    <td></td>
                  </tr>
                  <tr class="border">
                     <td colspan="2">户主或户主代表签字（盖手印）：</td>
                    <td colspan="1"></td>
                    <td colspan="1">身份证号：</td>
                    <td colspan="2" style="text-align: left;font-weight: 600;">{{formData.CardID}}</td>
                    <td colspan="2">村支书(主任)：</td>
                    <td colspan="2"></td>
                  </tr>
                  <tr class="border">
                    <td colspan="1">填表人：</td>
                    <td colspan="1" style="text-align: left;font-weight: 600;">{{CrMan}}</td>
                    <td colspan="2">复核人2人以上：</td>
                    <td colspan="2"></td>
                    <td colspan="2">施工单位复核：</td>
                    <td colspan="2"></td>
                  </tr>
                  <tr class="border">
                    <td colspan="2">镇征拆小组领导：</td>
                    <td colspan="1"></td>
                    <td colspan="2">镇政府盖章（镇长签名）：</td>
                    <td colspan="1"></td>
                    <td colspan="1">县级审核：</td>
                    <td colspan="1" style="text-align: left;font-weight: 600;">{{DrMan}}</td>
                    <td colspan="1">业主审核：</td>
                    <td colspan="1" style="text-align: left;font-weight: 600;">{{ErMan}}</td>
                  </tr>
                  <tr class="border" v-show="isShowX">
                    <td colspan="2">县领导：</td>
                    <td colspan="8"></td>
                  </tr>
                </tfoot>
                </table>
            </el-tab-pane>
            <el-tab-pane label="6特殊征拆" name="fb6">
                <div class="title clearfix" style="position: relative;">
                    <!-- <label for="">位置：桩号K</label>
                    <span>( )+( )</span> -->
                    <span style="position: absolute; right: 0;">{{billcode}}</span>
                    ({{gcname}})工程特殊征拆补偿登记/结算表&nbsp;
                    <el-button type="primary" v-show="isButton" size="mini" @click="fb6AddRow()">添加</el-button>
                    <!-- <el-button type="primary" size="mini" @click="fb6Save()">保存</el-button> -->
                </div>
                <table class="landsTable" cellspacing="0" cellpadding="0" border="0">
                <thead>
                  <tr>
                    <td>序号</td>
                    <td>征收项目名称</td>
                    <td>补偿标准</td>
                    <td>数量</td>
                    <td>金额（元）</td>
                    <td>批准文号</td>
                    <td colspan="3">备注</td>
                  </tr>
                </thead>
                <tbody>
                  <tr v-for="(person,index) in fb6Data" :key="index">
                    <td>{{index+1}}</td>
                    <td>{{person.ItemName}}</td> 
                    <td>{{person.StandardPrice}}</td> 
                    <td>{{person.Amount}}</td> 
                    <td>{{person.Money}}</td> 
                    <td>{{person.ItemCode}}</td> 
                    <td colspan="3">{{person.Memo}}</td> 
                  </tr>
                </tbody>
                <tfoot>
                  <tr class="td">
                    <td>合计</td>
                    <td></td>
                    <td></td>
                    <td>{{form6.bcsl}}</td>
                    <td>{{form6.bcje}}</td>
                    <td></td>
                    <td colspan="3"></td>
                  </tr>
                  <tr>
                    <td>合计大写</td>
                    <td colspan="5"></td>
                    <td colspan="4"></td>
                  </tr>
                  <tr class="border">
                    <td colspan="2">户主或户主代表签字（盖手印）：</td>
                    <td colspan="1"></td>
                    <td colspan="1">身份证号：</td>
                    <td colspan="1" style="text-align: left;font-weight: 600;">{{formData.CardID}}</td>
                    <td colspan="1">村支书(主任)：</td>
                    <td colspan="3"></td>
                  </tr>
                  <tr class="border">
                    <td colspan="1">填表人：</td>
                    <td colspan="1" style="text-align: left;font-weight: 600;">{{CrMan}}</td>
                    <td colspan="2">复核人2人以上：</td>
                    <td colspan="1"></td>
                    <td colspan="1">施工单位复核：</td>
                    <td colspan="3"></td>
                  </tr>
                  <tr class="border">
                    <td colspan="1">镇征拆小组领导：</td>
                    <td colspan="1"></td>
                    <td colspan="1">镇政府盖章（镇长签名）：</td>
                    <td colspan="1"></td>
                    <td colspan="1">县级审核：</td>
                    <td colspan="1" style="text-align: left;font-weight: 600;">{{DrMan}}</td>
                    <td colspan="1">业主审核：</td>
                    <td colspan="2" style="width: 30px;text-align: left;font-weight: 600;">{{ErMan}}</td>
                  </tr>
                  <tr class="border" v-show="isShowX">
                    <td colspan="1">县领导：</td>
                    <td colspan="8"></td>
                  </tr>
                </tfoot>
                </table>
            </el-tab-pane>
        </el-tabs>
      </div>
  </div>
</template>
<script>
	import api from '../../axios/api'
export default {
  name: "rform",
  data() {
    return {
    	FlowLog:[],
    	sfzh:'',//身份证号
    	MainName:'',//户主姓名
      paths:'',
      backTip:false,//退回原因弹窗
      Reason:'',//退回原因
      isButton:false,
      disabled:true,
      Tip:false,
      labelPosition:'left',
      activeTab: "ht",
      isShowHead:false,
      isShowX:false,//是否显示县领导
      //分表一数据
      fb1Data: [],
      //分表二数据
      fb2Data:[],
      //分表三数据
      fb3Data:[],
      //分表四数据
      fb4Data:[],
      //分表五数据
      fb5Data:[],
      //分表六数据
      fb6Data:[],
      //用户列表
      formData:[],
         form1:{
      	tdmj:0,//土地面积
      	hwxn:0,//红外线内
      	hwxw:0,//红外线外
      	bcje:0,//补偿金额
      	qmmj:0,//青苗面积
      	bcjes:0,//补偿金额
      	hjje:0,//合计金额
      },//表一合计
      form2:{
      	zsz:0,//长势值
      	tdmj:0,//土地面积
      	yslmj:0,//有树林面积
      	je:0,//金额
      	lxsl:0,//零星数量
      	lxje:0,//零星金额
      	cmdsl:0,//超密度数量
      	cmdje:0,//超密度金额
      	bcf:0,//补偿费
      },//表二合计
      form3:{
      	bcsl:0,//补偿数量
      	bcje:0,//补偿金额
      },//表三合计
      form4:{
      	bcsl:0,//补偿数量
      	bcje:0,//补偿金额
      },//表四合计
      form5:{
      	bcsl:0,//补偿数量
      	bcje:0,//补偿金额
      },//表四合计
      form6:{
      	bcsl:0,//补偿数量
      	bcje:0,//补偿金额
      },//表四合计
      hjdx:{
      	uppercase1:'',
      	uppercase2:'',
      	uppercase3:'',
      	uppercase4:'',
      	uppercase5:'',
      	uppercase6:'',
      },//合计大写
      gcname:'',
      hetong1:'',
      CrMan:'',//填表人
      DrMan:'',//县级审核
      ErMan:'',//业主审核
      billcode:''
    };
  },
  created(){
		this.getedit()
  	console.log(this.$route.params.id)
  },
  methods: {
  	//获取户主信息
  	getedit(){
  		this.$post(api.getview,{
			  "FlowMasterID": this.$route.params.id,
			  "isPrint": false
			}).then((res) => {
				console.log(res)
  			if(res.isOK==true && res.state==200){
  				this.billcode = res.Data.billcode
          this.hetong1 = res.Data.TemplateContent
            this.CrMan=res.Data.CrMan;
            this.DrMan=res.Data.DrMan;
            this.ErMan=res.Data.ErMan;
  					this.gcname = res.Data.ProjectStr
  					this.formData = res.Data.FromInfoView
  					this.FlowLog = res.Data.FlowLogsView
  					this.fb1Data = res.Data.LandTableView
  					this.fb2Data = res.Data.GreenTableView
  					this.fb3Data = res.Data.HouseTableView
  					this.fb4Data = res.Data.HouseExTableView
  					this.fb5Data = res.Data.GraveTableView
  					this.fb6Data = res.Data.OtherTableView
  					for(let i = 0;i<this.fb1Data.length;i++){
  							this.form1.tdmj+=(this.fb1Data[i].Amount-0)//土地面积
  							this.form1.hwxn+=(this.fb1Data[i].RedInSq-0)//红外线内
  							this.form1.hwxw+=(this.fb1Data[i].RedOutSq-0)//红外线外
  							this.form1.bcje+=(this.fb1Data[i].Money-0)//补偿金额
  							this.form1.qmmj+=(this.fb1Data[i].GreenAmount-0)//青苗面积
  							this.form1.bcjes+=(this.fb1Data[i].GreenMoney-0)//补偿金额
  							this.fb1Data[i].TotalMoney =(this.fb1Data[i].Money-0)+(this.fb1Data[i].GreenMoney-0)
  							this.form1.hjje += this.fb1Data[i].TotalMoney
  					}
  					this.hjdx.uppercase1 = this.$toMoney(this.form1.hjje)
  					//表二
  					for(let i = 0;i<this.fb2Data.length;i++){
  							this.form2.zsz += (this.fb2Data[i].GreenCurrentValue-0)//长势值
				      	this.form2.tdmj += (this.fb2Data[i].Amount-0)//土地面积
				      	this.form2.yslmj += (this.fb2Data[i].GreenAmount-0)//有树林面积
				      	this.form2.je += (this.fb2Data[i].Money-0)//金额
				      	this.form2.lxsl += (this.fb2Data[i].SmallAmount-0)//零星数量
				      	this.form2.lxje += (this.fb2Data[i].SmallMoney-0)//零星金额
				      	this.form2.cmdsl += (this.fb2Data[i].PlusAmount-0)//超密度数量
				      	this.form2.cmdje += (this.fb2Data[i].PlusMoney-0)//超密度金额
				      	this.fb2Data[i].TotalMoney = (this.fb2Data[i].Money-0)+(this.fb2Data[i].SmallMoney-0)+(this.fb2Data[i].PlusMoney-0)//补偿费TotalMoney
				      	this.form2.bcf += this.fb2Data[i].TotalMoney//补偿费TotalMoney
  					}
  					this.hjdx.uppercase2 = this.$toMoney(this.form2.bcf)
  					//表三
  					for(let i = 0;i<this.fb3Data.length;i++){
  							this.form3.bcsl += (this.fb3Data[i].Amount-0)//长势值
				      	this.form3.bcje += (this.fb3Data[i].Money-0)//土地面积
  					}
  					this.hjdx.uppercase3 = this.$toMoney(this.form3.bcje)
  					//表四
  					for(let i = 0;i<this.fb4Data.length;i++){
  							this.form4.bcsl += (this.fb4Data[i].Amount-0)//长势值
				      	this.form4.bcje += (this.fb4Data[i].Money-0)//土地面积
  					}
  					this.hjdx.uppercase4 = this.$toMoney(this.form4.bcje)
  					//表五
  					for(let i = 0;i<this.fb5Data.length;i++){
  							this.form5.bcsl += (this.fb5Data[i].Amount-0)//长势值
				      	this.form5.bcje += (this.fb5Data[i].Money-0)//土地面积
  					}
  					this.hjdx.uppercase5 = this.$toMoney(this.form5.bcje)
  					//表六
  					for(let i = 0;i<this.fb6Data.length;i++){
  							this.form6.bcsl += (this.fb6Data[i].Amount-0)//长势值
				      	this.form6.bcje += (this.fb6Data[i].Money-0)//土地面积
  					}
  					this.hjdx.uppercase6 = this.$toMoney(this.form6.bcje)
  			}else{
  				this.$message.error(res.msg);
  			}
//			this.MainName = res.data.Data.FromInfo.MainName
//			this.sfzh = res.data.Data.FromInfo.CardID
  		})
  	},
    //返回
    fnReturn(){
this.$router.go(-1)
    },
    //打开审核退回弹窗
    fnBack(){
      this.backTip=true;
    },
    //退回后执行的方法
    fnBackSub(){

    },
    //tab切换改变
    handleClick(tab, event) {
      //当tab等于分表六的时候显示县领导
      if(tab.name=='fb6'){
        this.isShowX=true;
      }else{
        this.isShowX=false;
      }
    },
  }
};
</script>
<style scoped=''>
	.hetong{
	width: 1086px;
  height: 756px;
	padding: 50px;
	margin: auto;
	box-sizing: border-box;
	margin-top: 20px;
	margin-bottom: 50px;
	background: #fafafb;
	box-shadow: 2px 2px 10px #888888;
}
.hetong h1{
	text-align: center;
	color: #000000;
	line-height: 220px;
	font-size: 50px;
}
.container {
  min-width: 1450px;
}
.fbhead {
  width: 100%;
}
.red {
  color: red;
}

.headtable {
  font-weight: 600;
    color: #000;
    font-size: 14px;
  margin: auto;
  width:100%;
  border-collapse: collapse;
}

.headtable td,
.headtable th {
  padding: 5px;
  border: 1px solid #000;
}
.landsTable tfoot .border,.landsTable tfoot .border td{
	border: none;
	 border-bottom: 1px solid #000 !important;
}
.address {
  margin: 10px 0;
  color: #909399;
}
.address span {
  display: inline-block;
  width: 20px;
}
.address .el-select {
  width: 120px !important;
}
.address .el-input {
  width: 140px !important;
}

.tab {
  width: 100%;
  margin-top: 10px;
  transform: scale(1)
}
.tab .title {
  width: 1500px;
  font-size: 20px;
  text-align: center;
  font-weight: 600;
  margin: 10px auto;
  color: #000;
}
.tab .title span{
  font-size: 14px;
  float: left;
  margin-top: 10px;
}
.tab .title label{
  font-size: 14px;
  float: left;
  margin-top: 10px;
}
.tabfooter .row {
  color: #909399;
  font-size: 14px;
  font-weight: 600;
  width: 1484px;
  margin: 15px auto;
  border-bottom: 1px solid #ebeef5;
}
.landsTable {
  width: 1500px;
  color: #000;
  margin: auto;
  border-collapse: collapse;
  font-size: 12px;
}
.landsTable thead{
  font-weight: 600;
  color: #000;
}

.landsTable td,
.landsTable th {
  text-align: center;
  padding: 5px;
  border: 1px solid #000;
}
.landsTable tfoot td{
  text-align: right;
}
.landsTable .el-select {
  width: 80px !important;
  font-size: 14px !important;
}
.landsTable .el-input {
  width: 80px !important;
  font-size: 14px !important;
}
.landsTable .el-table{
  font-size: 14px!important;
  
}
.landsTable .el-table .cell{
  line-height: 14px!important;
  font-size: 14px !important;
}
.landsTable .el-table .cell, .el-table th div, .el-table--border td:first-child .cell, .el-table--border th:first-child .cell{
  padding-left: 5px!important;
}
.landsTable .el-table .cell, .el-table th div{
  padding-right: 5px!important;
}
td:last-child .el-button--mini, .el-button--mini.is-round{
    padding: 5px 5px !important;
}
tfoot td{
  text-align: right;
}
.edits .icons{
	color: #409EFF;
	cursor: pointer;
	/*font-size: 20px;*/
	margin-right: 5px;
}
  .landsTable tfoot .td td{
	text-align: center;
	font-weight: 600;;
}
.numbs{
	text-align: right;
	margin-bottom: 10px;
}
</style>


